<script type="text/template" id="cates_edit_template">
  <form class="update-form">
    <h2>编辑分类目录</h2>
    <div class="form-group">
      <label for="name">名称</label>
      <input id="name" class="form-control" name="name" type="text" placeholder="分类名称" value="{{cate_name}}">
    </div>
    <div class="form-group">
      <label for="slug">别名</label>
      <input id="slug" class="form-control" name="slug" type="text" placeholder="slug" value="{{cate_slug}}">
      <p class="help-block">https://zce.me/category/<strong>{{cate_slug}}</strong></p>
    </div>
    <div class="form-group">
      <button class="btn btn-primary btn-update" type="button" data-id="{{cate_id}}">更新</button>
    </div>
  </form>
</script>